package com.zgl.modules.card.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_card")
public class CardEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "银行卡名")
    private String cardName;
    @ApiModelProperty(value = "银行卡号")
    private String cardNumber;
    @ApiModelProperty(value = "余额")
    private String cardBalance;
    @ApiModelProperty(value = "绑定用户名")
    private String userid;
    @ApiModelProperty(value = "是否被绑定")
    private Integer used;


}
